Skip to content

chore(deps): update dependency oauth2 to v2 #13314

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate-bot
Copy link
Contributor

This PR contains the following updates:

Package Type Update Change
oauth2 (source) prod major ~> 0.9 -> ~> 2.0

Release Notes

scrogson/oauth2 (oauth2)

v2.1.0

Compare Source

Improvements
  • Now you can have a lot more control over your http client, including
    selecting what client you are using from the adapters available for
    Tesla.
    You can also easily add logging and tracing with middleware.
Backward Incompatible Changes
  • No longer directly using hackney it's still possible to use it through a
    Tesla adapter. To keep all your tweaks working correctly you'll need to
    add these settings:

    In mix.exs

mix.exs

defp deps do

Add the dependency

  [
    {:oauth2, "~> 2.0"},
    {:hackney, "~> 1.18"} # This is the new line you need to add
  ]
end
```

In config:
elixir config :oauth2, adapter: Tesla.Adapter.Hackney

v2.0.1

Compare Source

Bug fixes
  • Fix incorrect Accept header when requesting token

v2.0.0

Compare Source

Bug fixes (possibly backwards incompatible)
  • Ensure that the OAuth client is authenticated via Authorization header as
    described in the spec (#​131).

v1.0.1

Compare Source

Bug fixes
  • Always use the provided serializer if one is registered (#​132)

v1.0.0

Compare Source

Backward Incompatible Changes
  • There is no longer a default serializer for application/json. Please make
    sure to register a serializer with OAuth2.Client.put_serializer/3.
  • Serializers are now registered via OAuth2.Client.put_serializer/3.
    This change allows applications wrapping oauth2 a way to provide default
    serializers without requiring the user to manually configure a serializer.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate-bot renovate-bot requested a review from a team as a code owner August 1, 2025 00:44
@trusted-contributions-gcf trusted-contributions-gcf bot added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Aug 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kokoro:force-run Add this label to force Kokoro to re-run the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant